const mutations = {
  ADDCOUNT(state) {
    state.count++
  },
  SUBCOUNT(state) {
    state.count--
  },
  SETACTIVECARD(state,params) {
    state.activeCard = params
  },
  SETTITLESHOW(state) {
    state.titleState = true
  },
  SETTITLEHIDE(state) {
    state.titleState = false
  },
  SETBARCODESHOW(state) {
    state.barcodeState = true
  },
  SETBARCODEHIDE(state) {
    state.barcodeState = false
  }
}

export default mutations
